package com.hxl.tech.gateway.auth.dto.limitrule;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

/**
 * IP限制配置 DTO
 * @author soliddq
 * @date 2023-10-16
 */
@Data
public class LimitIpDTO {

    @ApiModelProperty(value = "类型（0：未开启IP限制，1：ip白名单，2：ip黑名单）")
    private Integer limitType;

    @ApiModelProperty(value = "IP白名单列表")
    private List<String> whiteIps;

    @ApiModelProperty(value = "IP黑名单列表")
    private List<String> blackIps;


}
